package com.by.common.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.multipart.support.StandardServletMultipartResolver;
import org.springframework.web.servlet.config.annotation.DefaultServletHandlerConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration
public class MvcConfig implements WebMvcConfigurer {
    /**
     * 上传解析处理实现
     */
    public StandardServletMultipartResolver multipartResolver(){
        return new StandardServletMultipartResolver();
    }


}
